package com.nitramf.catchmystream.entities.dto;

import java.util.Date;
import java.util.List;
import org.apache.solr.client.solrj.beans.Field;

/**
 * Represent an item as seen by Solr Search server
 * @author martinfilliau
 */
public class ItemSolrDto {
    
    @Field
    private String uri;

    @Field
    private String title;

    @Field
    private String description;

    @Field
    private String author;

    @Field
    private Date date;

    @Field
    private Boolean iamtheauthor;

    @Field
    private List<String> keywords;

    @Field
    private String source;

    /* GETTERS and SETTERS */

    public String getUri() {
        return uri;
    }

    public void setUri(String uri) {
        this.uri = uri;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Boolean getIamtheauthor() {
        return iamtheauthor;
    }

    public void setIamtheauthor(Boolean b) {
        this.iamtheauthor = b;
    }

    public List<String> getKeywords() {
        return keywords;
    }

    public void setKeywords(List<String> keywords) {
        this.keywords = keywords;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }
}
